Carlos Garnacho [Tue, 4 Feb 2014 19:45:53 +0000 (20:45 +0100)]
popover: Add private _gtk_popover_set_apply_shape() call
Popovers no longer sets a shape, unless this function is called. This
function exists so widgets that are potentially placed on top of other
native windows can get a popover that's nicely shaped, even if it has
no border shadow around.
https://bugzilla.gnome.org/show_bug.cgi?id=723556
Alexander Larsson [Tue, 4 Feb 2014 11:07:42 +0000 (12:07 +0100)]
popover: Apply child shapes on the GtkWidget popover subwindow
https://bugzilla.gnome.org/show_bug.cgi?id=723556
Matthias Clasen [Tue, 4 Feb 2014 18:13:52 +0000 (13:13 -0500)]
Use gdk_screen_get_preferred_visual()
When creating windows, and when returning a widgets
visual, use the new API to get the preferred visual.
Matthias Clasen [Wed, 22 Jan 2014 23:48:45 +0000 (18:48 -0500)]
Introduce API to get the preferred visual
Unless GDK_RGBA=0 is set, this will be the RGBA visual.
The new function is called gdk_screen_get_preferred_visual().
https://bugzilla.gnome.org/show_bug.cgi?id=630217
Matthias Clasen [Tue, 4 Feb 2014 16:39:48 +0000 (11:39 -0500)]
Revert "gdk: enable rgba visuals by default"
This reverts commit
a2ccb6601e0fb6dbe55517ad399728a00f6d7e40.
This turns out to break GtkStatusIcon, and invalidates
the documentation of gdk_screen_get_system_visual().
Matthias Clasen [Tue, 4 Feb 2014 14:49:30 +0000 (09:49 -0500)]
Give up on border-image-repeat reftest
Matthias Clasen [Tue, 4 Feb 2014 14:28:10 +0000 (09:28 -0500)]
Update expected output for assistant a11y test
Matthias Clasen [Tue, 4 Feb 2014 12:52:11 +0000 (07:52 -0500)]
Ignore hide-titlebar-when-maximized for custom titlebars
Try this again, this time being a bit more careful about size
allocation of titlebars.
Matthias Clasen [Tue, 4 Feb 2014 11:14:46 +0000 (06:14 -0500)]
Revert "Ignore hide-titlebar-when-maximized for CSD"
This reverts commit
54ec157599627e7037f4f9dab0d913486dc0767e.
Shankar Prasad [Tue, 4 Feb 2014 12:30:22 +0000 (18:00 +0530)]
updated kn.po
Alexander Larsson [Tue, 4 Feb 2014 11:03:03 +0000 (12:03 +0100)]
gdkwindow: Fix gdk_window_set_child_shapes()
This did the reverse of what it should, making the shape be
the part where the children were *not*.
Matthias Clasen [Tue, 4 Feb 2014 03:43:59 +0000 (22:43 -0500)]
Add a release note about RGBA visuals
Matthias Clasen [Tue, 4 Feb 2014 03:38:06 +0000 (22:38 -0500)]
Make gtk_window_set_titlebar work on realized windows
Since realize does a lot of the heavy lifting of setting up
csd, we have to re-realize the window if we go from no-custom
titlebar to a custom titlebar or vice versa.
https://bugzilla.gnome.org/show_bug.cgi?id=722919
Matthias Clasen [Fri, 24 Jan 2014 19:32:00 +0000 (14:32 -0500)]
Re-realize the window if needed
When gtk_window_set_titlebar is called, we need to set up
client-side decorations properly, and the easiest way to do
so is to realize the window again. Really, you should call
set_titlebar before the window is realized.
https://bugzilla.gnome.org/show_bug.cgi?id=722919
Olivier Brunel [Tue, 28 Jan 2014 19:33:09 +0000 (20:33 +0100)]
widget: Fix set_focus_child handling during focus changes
10b5ec20 made sure not to set focus_child to NULL all the way up to the
top, but only up to the common ancestor. However, it would never set it
on the common ancestor itself, which would therefore remain with a
focus_child set when it shouldn't.
A manifestation of the bug: focus column headers of a treeview, press Tab.
Now pressing Shift+Tab will go to another widget and not the column
headers, and Tab will (appear to) do nothing, all because the treeview
still has a focus_child set to column headers after a grab_focus().
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=723402
Matthias Clasen [Tue, 4 Feb 2014 02:12:43 +0000 (21:12 -0500)]
Avoid a gtk-doc warning
Matthias Clasen [Tue, 4 Feb 2014 02:03:37 +0000 (21:03 -0500)]
Fix docs build
Matthias Clasen [Tue, 4 Feb 2014 02:00:17 +0000 (21:00 -0500)]
GtkMountOperation: Clean up a dangling signal handler
Based on a patch by Eugene Shatokhin,
https://bugzilla.gnome.org/show_bug.cgi?id=723366
Adam Jackson [Mon, 3 Feb 2014 20:37:00 +0000 (20:37 +0000)]
X11: Decode extension names in the error handler
This commit uses the Xlib cache to obtain the name of the X extension
for the request that caused the error.
https://bugzilla.gnome.org/review?bug=723555
Jasper St. Pierre [Mon, 3 Feb 2014 23:45:32 +0000 (18:45 -0500)]
gdkwindow-wayland: Obey Wayland buffer semantics
We can't destroy buffers if they're in-use by the compositor. Well,
technically we can, but that is considered undefined by Wayland and
mutter won't cope with it very well -- it simply kills the client.
To solve this, we need to delay the destroy operation until the
compositor tells us that it's released the buffer. To do this, hold
an extra ref on the cairo surface as long as the surface is in-use
by the compositor.
Matthias Clasen [Mon, 3 Feb 2014 21:49:15 +0000 (16:49 -0500)]
Add a release note about background rendering
Matthias Clasen [Mon, 3 Feb 2014 21:43:45 +0000 (16:43 -0500)]
Update gtkvolumebutton.ui.h
Removing the tooltips removed some strings.
Matthias Clasen [Mon, 3 Feb 2014 20:59:23 +0000 (15:59 -0500)]
Revert "fixed: draw css background and borders"
This reverts commit
ba6128f8afc90bc32b45559f9c24964e78f6ff3d.
This change breaks emacs drawing entirely. Since GtkFixed is
somewhat of a legacy widget anyway, lets just not bother doing
this modernization there, at least for now.
Matthias Clasen [Thu, 30 Jan 2014 02:30:01 +0000 (21:30 -0500)]
GtkVolumeButton: Remove tooltips
Showing tooltips on top of a transient popup does not work
out well, and is not really necessary here. At the same time,
remove the unnecessary repetitions of properties. In particular,
setting the label of the buttons here defeats the scale buttons
use of symbolic icons.
https://bugzilla.gnome.org/show_bug.cgi?id=723181
Matthias Clasen [Thu, 30 Jan 2014 02:20:22 +0000 (21:20 -0500)]
GtkScaleButton: Use a popover
This works better than the contortions we're currently doing
with an undecorated dialog, and grabs.
https://bugzilla.gnome.org/show_bug.cgi?id=723181
Benjamin Otte [Mon, 3 Feb 2014 14:56:59 +0000 (15:56 +0100)]
css: Fix computation of pixels occupied by blur radius
These computations were done randomly in lots of places and more often
than not, they were also wrong.
This function was copied (with docs) from Firefox:
http://lxr.mozilla.org/mozilla-central/source/gfx/2d/Blur.cpp
https://bugzilla.gnome.org/show_bug.cgi?id=723159
Benjamin Otte [Tue, 28 Jan 2014 18:49:22 +0000 (19:49 +0100)]
a11y: Ignore deprecation warnings for ATK focus tracker
William Jon McCann [Mon, 3 Feb 2014 14:57:01 +0000 (09:57 -0500)]
docs: add missing close para tag
From
30cc1512e
William Jon McCann [Mon, 3 Feb 2014 14:51:40 +0000 (09:51 -0500)]
docs: fix spurious list close tag
Missed by patch
30cc1512e
Matthias Clasen [Sun, 2 Feb 2014 22:57:07 +0000 (17:57 -0500)]
Exempt GtkAssistant.use-header-bar from defaultvalue test
Just like GtkDialog, this one has a special-purpose
default value.
Daniel Korostil [Sun, 2 Feb 2014 22:36:13 +0000 (22:36 +0000)]
Updated Ukrainian translation
Matthias Clasen [Sun, 2 Feb 2014 22:27:34 +0000 (17:27 -0500)]
Add a testcase for various dialog headerbar scenarios
Aurimas Černius [Sun, 2 Feb 2014 11:57:24 +0000 (13:57 +0200)]
Updated Lithuanian translation
Matthias Clasen [Sun, 2 Feb 2014 06:22:14 +0000 (01:22 -0500)]
Docs: Don't use note elements
In most cases, the text itself makes the message clear enough.
Matthias Clasen [Sun, 2 Feb 2014 06:07:39 +0000 (01:07 -0500)]
Docs: Use markdown for lists
This greatly reduces the amount of xml in the docs.
Matthias Clasen [Sun, 2 Feb 2014 05:29:00 +0000 (00:29 -0500)]
docs: Convert to markdown
Specifically, switch to using markdown syntax for sections.
Rafael Ferreira [Sun, 2 Feb 2014 03:02:44 +0000 (01:02 -0200)]
Updated Brazilian Portuguese translation for Properties
Rafael Ferreira [Sun, 2 Feb 2014 02:57:02 +0000 (02:57 +0000)]
Updated Brazilian Portuguese translation
Piotr Drąg [Sat, 1 Feb 2014 16:47:24 +0000 (17:47 +0100)]
Updated POTFILES.in and POTFILES.skip
Baurzhan Muftakhidinov [Sat, 1 Feb 2014 15:20:08 +0000 (15:20 +0000)]
Updated Kazakh translation
Andika Triwidada [Sat, 1 Feb 2014 11:34:04 +0000 (11:34 +0000)]
Updated Indonesian translation
William Jon McCann [Sat, 1 Feb 2014 09:35:54 +0000 (04:35 -0500)]
docs: remove spurious para
William Jon McCann [Fri, 31 Jan 2014 16:11:23 +0000 (11:11 -0500)]
docs: list items require blank lines
William Jon McCann [Thu, 30 Jan 2014 01:54:09 +0000 (20:54 -0500)]
docs: use markdown instead of docbook tags
Dimitris Spingos [Sat, 1 Feb 2014 06:45:39 +0000 (08:45 +0200)]
Updated Greek translation
Matthias Clasen [Fri, 31 Jan 2014 23:46:33 +0000 (18:46 -0500)]
Fix a case of nested comments
Chao-Hsiung Liao [Fri, 31 Jan 2014 23:32:48 +0000 (07:32 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Rico Tzschichholz [Fri, 31 Jan 2014 21:53:05 +0000 (22:53 +0100)]
Updated POTFILES.in
Jasper St. Pierre [Fri, 31 Jan 2014 21:39:33 +0000 (16:39 -0500)]
gdkwindow-wayland: Erm, put the DESTROYED check in the right spot...
Jasper St. Pierre [Fri, 31 Jan 2014 21:24:19 +0000 (16:24 -0500)]
gdkwindow-wayland: Bail out early if we get a frame callback when destroying our window
This prevents warnings like
(gtk3-demo:14948): Gdk-CRITICAL **: _gdk_frame_clock_thaw: assertion 'GDK_IS_FRAME_CLOCK (clock)' failed
(gtk3-demo:14948): Gdk-CRITICAL **: gdk_frame_clock_get_timings: assertion 'GDK_IS_FRAME_CLOCK (frame_clock)' failed
We need to do this, as the compositor might have already sent us a frame
event, in-flight, at the same time we destroy our window. In this case, we'll
receive the then-in-flight "done" event, and then warn as we try to look
up the frame clock on a destroyed window.
Matthias Clasen [Fri, 31 Jan 2014 20:43:09 +0000 (15:43 -0500)]
gtk3-demo: Fix two issues with the builder demo
The ui file was generating a warning about AtkAction not
being implemented, and the about dialog had a missing icon.
Jasper St. Pierre [Fri, 31 Jan 2014 20:20:28 +0000 (15:20 -0500)]
Update ui.h file for GtkFileChooserDefault rename
Jasper St. Pierre [Sat, 18 Jan 2014 16:47:43 +0000 (11:47 -0500)]
gtkicontheme: Don't query CONTENT_TYPE to determine if something is an SVG
We already know based on the suffix of the filename.
https://bugzilla.gnome.org/show_bug.cgi?id=721895
Jasper St. Pierre [Fri, 31 Jan 2014 19:33:27 +0000 (14:33 -0500)]
gdkwindow-x11: Fix compile warning
It doesn't actually matter, since we don't pass any real attributes
anyway, but this should be the correct type...
Jasper St. Pierre [Fri, 31 Jan 2014 16:13:29 +0000 (11:13 -0500)]
gdkwindow: Use an InputOnly window for focus_window
For XWayland, this is somewhat important to prevent a dummy XWayland surface
being made for all clients that connect...
https://bugzilla.gnome.org/show_bug.cgi?id=723390
Matthias Clasen [Fri, 31 Jan 2014 13:45:23 +0000 (08:45 -0500)]
Ignore hide-titlebar-when-maximized for CSD
This setting really only makes sense for wm titlebars,
client-side titlebars are under application control
anyway.
Murray Cumming [Fri, 31 Jan 2014 10:24:18 +0000 (11:24 +0100)]
docs: Improve grammar in GtkHeaderBar overview
Matthias Clasen [Thu, 30 Jan 2014 13:11:41 +0000 (08:11 -0500)]
GtkPopover: avoid a critical
focus_widget can be NULL, as pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=723181#c7
Yosef Or Boczko [Thu, 30 Jan 2014 11:16:08 +0000 (13:16 +0200)]
Updated Hebrew translation
Jorge Pérez Pérez [Thu, 30 Jan 2014 10:33:23 +0000 (11:33 +0100)]
Updated Aragonese translation
Matthias Clasen [Thu, 30 Jan 2014 03:32:14 +0000 (22:32 -0500)]
widget-factory: Add a volume button
William Jon McCann [Wed, 29 Jan 2014 03:41:50 +0000 (22:41 -0500)]
assistant: add text-button style class
https://bugzilla.gnome.org/show_bug.cgi?id=723212
William Jon McCann [Wed, 29 Jan 2014 03:36:16 +0000 (22:36 -0500)]
assistant: set window title with page title
This will set the headerbar title when necessary
https://bugzilla.gnome.org/show_bug.cgi?id=723212
William Jon McCann [Wed, 29 Jan 2014 02:42:39 +0000 (21:42 -0500)]
tests: fix button underline in testassistant
https://bugzilla.gnome.org/show_bug.cgi?id=723212
William Jon McCann [Wed, 29 Jan 2014 02:37:10 +0000 (21:37 -0500)]
assistant: make button labels match mockups
https://bugzilla.gnome.org/show_bug.cgi?id=723212
William Jon McCann [Wed, 29 Jan 2014 02:27:26 +0000 (21:27 -0500)]
assistant: add ability to use header bar
https://bugzilla.gnome.org/show_bug.cgi?id=723212
Giovanni Campagna [Tue, 28 Jan 2014 18:47:05 +0000 (19:47 +0100)]
GtkStyleContext: don't use disconnect_by_func()
disconnect_by_func() is slow, and this becomes particularly evident
when disposing a number of widgets (and their associated style
context) at once, such as when using a language binding which
uses a GC.
https://bugzilla.gnome.org/show_bug.cgi?id=723183
William Jon McCann [Wed, 29 Jan 2014 19:19:04 +0000 (14:19 -0500)]
Depend on latest gtk-doc
William Jon McCann [Mon, 27 Jan 2014 20:42:15 +0000 (15:42 -0500)]
docs: don't escape entities in example code
https://bugzilla.gnome.org/show_bug.cgi?id=723119
William Jon McCann [Mon, 27 Jan 2014 20:06:32 +0000 (15:06 -0500)]
docs: Work around cpp complaining about comments in docs in the standard way
https://bugzilla.gnome.org/show_bug.cgi?id=723119
William Jon McCann [Mon, 27 Jan 2014 19:55:18 +0000 (14:55 -0500)]
docs: Identify examples that are C code
https://bugzilla.gnome.org/show_bug.cgi?id=723119
William Jon McCann [Mon, 27 Jan 2014 17:12:55 +0000 (12:12 -0500)]
docs: use |[ ]| instead of <programlisting></programlisting>
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Yosef Or Boczko [Wed, 29 Jan 2014 05:39:05 +0000 (07:39 +0200)]
Updated the POTFILES file
Forgot this in the previus commit.
Yosef Or Boczko [Wed, 29 Jan 2014 05:30:07 +0000 (07:30 +0200)]
Updated the POTFILES file
William Jon McCann [Tue, 28 Jan 2014 10:36:38 +0000 (05:36 -0500)]
docs: add docs for GtkFileChooserWidget signals
https://bugzilla.gnome.org/show_bug.cgi?id=723157
William Jon McCann [Tue, 28 Jan 2014 09:30:33 +0000 (04:30 -0500)]
Merge GtkFileChooserWidget and GtkFileChooserDefault
It seems that alternate implementations of GtkFileChooserWidget
never materialized. The split between GtkFileChooserWidget and
GtkFileChooserDefault is awkward. The immediate problem is that
it makes it difficult to document the keybinding signals. So it
makes sense to drop the abstraction and just have one thing.
https://bugzilla.gnome.org/show_bug.cgi?id=723157
William Jon McCann [Tue, 28 Jan 2014 20:57:47 +0000 (15:57 -0500)]
docs: remove spurious quotation mark
Carlos Garnacho [Tue, 28 Jan 2014 15:44:01 +0000 (16:44 +0100)]
listbox: return GDK_EVENT_STOP if button events were handled
The button press/release handlers did invariably return FALSE, even
though it shouldn't if a row was found on the event coordinates. Also,
use GDK_EVENT_* defines for the return values.
Carlos Garnacho [Tue, 28 Jan 2014 15:02:47 +0000 (16:02 +0100)]
popover: Improve minimal size allocation
The minimal size if no child widget was present/shown was far too small
to have enough room for the arrow width plus border radii, so
gtk_render_frame_gap would spew warnings about the gap being out of
boundaries.
Fixes issues seen in
https://bugzilla.gnome.org/show_bug.cgi?id=723031#c2
Carlos Garnacho [Tue, 28 Jan 2014 13:05:08 +0000 (14:05 +0100)]
popover: Hide/ungrab on button release
If the grab is released during button press, the button release is
just then sent to the widget below the pointer. Depending on the
widget implementation, this could already trigger actions if the
widget does not perform any kind of button state tracking. It is
safer to ungrab on button release so no extra actions are possibly
triggered, and the behavior is uniform across widgets.
But the opposite situation may also happen, that a popover is
shown/grabbed on a button press event, so it'd get the sole button
release event after being shown, so prepare for that case by making
popover ignore single button release events with no preceding button
press.
Fixes issues seen in
https://bugzilla.gnome.org/show_bug.cgi?id=723031#c2
Kjell Ahlstedt [Mon, 7 Oct 2013 13:33:31 +0000 (15:33 +0200)]
Improve doc of gtk_widget_override_color()
Mention that it's not recursively applied to a container's children.
https://bugzilla.gnome.org/show_bug.cgi?id=566945
William Jon McCann [Tue, 28 Jan 2014 07:16:33 +0000 (02:16 -0500)]
docs: don't use <guimenuitem>
We don't want to assume menu bar structures.
William Jon McCann [Tue, 28 Jan 2014 06:54:48 +0000 (01:54 -0500)]
docs: don't use <emphasis>
It is a little heavy handed. The text can speak for itself.
William Jon McCann [Tue, 28 Jan 2014 06:27:39 +0000 (01:27 -0500)]
docs: fix css properties table
William Jon McCann [Tue, 28 Jan 2014 05:06:30 +0000 (00:06 -0500)]
docs: don't use <type> tags
Use # syntax where appropriate.
Matthias Clasen [Tue, 28 Jan 2014 04:30:28 +0000 (23:30 -0500)]
Trivial typo fix
Matthias Clasen [Tue, 28 Jan 2014 04:29:34 +0000 (23:29 -0500)]
Paper dialog: Use baseline alignment
This improves the positioning of the labels wrt to the spin
buttons.
Matthias Clasen [Tue, 28 Jan 2014 04:16:28 +0000 (23:16 -0500)]
Print dialog: Use baseline alignment in page setup tab
Based on a patch from
https://bugzilla.gnome.org/show_bug.cgi?id=722722
Nikita Churaev [Tue, 21 Jan 2014 18:57:44 +0000 (22:57 +0400)]
Fix vertical alignment of labels in "Paper" section of the print dialog
https://bugzilla.gnome.org/show_bug.cgi?id=722722
William Jon McCann [Tue, 28 Jan 2014 04:08:08 +0000 (23:08 -0500)]
docs: use () instead of <function> tags
William Jon McCann [Tue, 28 Jan 2014 02:35:14 +0000 (21:35 -0500)]
docs: don't use footnotes
Temporarily remove documentation for keybinding signals for
GtkFileChooserDefault until we can find a way to add them
properly.
Matthias Clasen [Tue, 28 Jan 2014 02:52:01 +0000 (21:52 -0500)]
GtkPlacesSidebar: Stop drives that can be stopped
Removable USB drives or memory sticks should be powered down
when the eject button is pressed. For this, we need to call
g_drive_stop() instead of g_drive_eject(), provided the drive
can be stopped.
https://bugzilla.gnome.org/show_bug.cgi?id=723121
Matthias Clasen [Tue, 28 Jan 2014 02:48:18 +0000 (21:48 -0500)]
GtkPlacesSidebar: Fix two copy-paste errors
Sadly, this means the code can have never been tested :-(
Matthias Clasen [Tue, 28 Jan 2014 02:47:14 +0000 (21:47 -0500)]
GtkPlacesSidebar: Remove to FIXMEs
It doesn't hurt to just add the ref here, as the FIXME suggests.
William Jon McCann [Mon, 27 Jan 2014 22:13:43 +0000 (17:13 -0500)]
docs: don't use structfield tags
William Jon McCann [Mon, 27 Jan 2014 22:04:46 +0000 (17:04 -0500)]
docs: use #*-struct instead of <structname>
Marek Kasik [Thu, 19 Dec 2013 13:52:16 +0000 (14:52 +0100)]
printing: Enable search through locations in printers list
Add printer_compare() function for comparing printers according
to their names and locations. It is possible to search by multiple
keys separated by space or tabulator using logical conjunction.
Based on patch by William Hua.
https://bugzilla.gnome.org/show_bug.cgi?id=692931
Ignacio Casal Quinteiro [Mon, 27 Jan 2014 13:39:26 +0000 (14:39 +0100)]
win32: remove useless comment since we do not support win98 anymore
Lionel Landwerlin [Thu, 18 Jul 2013 10:49:43 +0000 (11:49 +0100)]
widget: emit synthesized crossing event with correct device position
https://bugzilla.gnome.org/show_bug.cgi?id=704456
Daniel Mustieles [Mon, 27 Jan 2014 12:56:08 +0000 (13:56 +0100)]
Updated Spanish translation